<template>
  <section class="layer">
  	  <transition name="fade" mode="out-in">
      <keep-alive>
        <router-view v-if="$route.meta.keepalive"></router-view>
      </keep-alive>
    </transition>
    <router-view v-if="!$route.meta.keepalive"></router-view>
  </section>
</template>

<script>
  export default {
    name: 'AppMain',
    data() {
      return {
      }
    },
    created() {

    }
  }
</script>